<template>
  <div
    class="page-fs text-align-right ellipsis"
    style="font-size: 10px;"
    @click="getMsg"
  >
    {{ text }}
  </div>
</template>

<script>
import Api from "./Api";

export default {
  data() {
    return {
      text: ''
    }
  },
  mounted() {
    this.getMsg()
  },
  methods: {
    getMsg() {
      Api.getMsg().then(res => {
        this.text = JSON.parse(res).returnObj.content
      })
    }
  }
}
</script>

<style scoped>

</style>